// Copyright (c) Microsoft Corporation.  All rights reserved.

#include "stdafx.h"
#include "D3D10Query.h"

using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D10;

QueryDescription^ D3DQuery::GetDescription()
{
    D3D10_QUERY_DESC* tempoutDescription = new D3D10_QUERY_DESC();
    GetInterface<ID3D10Query>()->GetDesc(tempoutDescription);
    
    return gcnew QueryDescription(tempoutDescription);
}

